package com.hl.card.modular.pack.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("EUREKA-COMMON-PROVIDER")
public interface RemoteInterface {
    /**
     * 获取公司信息
     * @param companyName
     * @return
     */
    @RequestMapping(value = "/getCompanyInfoByProvider", method = RequestMethod.GET)
    public String getCompanyInfoByProvider(@RequestParam("companyName") String companyName);

    @RequestMapping(value = "/saveRedis", method = RequestMethod.GET)
    public String getredis(@RequestParam("key") String key, @RequestParam("value") String value);

}
